﻿using UnityEngine;
using System.Collections;

/// <summary>
/// Use this class to auto resize all texture base on devices screen size
/// </summary>
public class AutoScale : MonoBehaviour
{
    string tag = "AutoScale";
    static int tc = 0;
    bool isDebug = false;

    // Use this for initialization
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {

    }

    /// <summary>
    /// Get screen size of current device
    /// </summary>
    void GetScreenSize()
    {

        // ngdlong_Add debug log
        if (isDebug)
        {
            Debug.Log("ngdlong_" + tc++ + "_" + tag + " " + "");
        }
    }


    
    void CalScaleRatio()
    {
        // ngdlong_Add debug log
        if (isDebug)
        {
            Debug.Log("ngdlong_" + tc++ + "_" + tag + " " + "");
        }
    }


    void DoScale()
    {
        // ngdlong_Add debug log
        if (isDebug)
        {
            Debug.Log("ngdlong_" + tc++ + "_" + tag + " " + "");
        }
    }
}
